package com.imachen.ymcc.result;

import com.imachen.ymcc.vo.AggrTermsBucketVo;
import lombok.Data;

import java.util.List;
import java.util.Map;

@Data
public class EsAggrPageList<T> extends PageList<T> {

    private Map<String, List<AggrTermsBucketVo>> aggResult;

    public EsAggrPageList(){

    }

    public EsAggrPageList(Long total, List<T> rows, Map<String, List<AggrTermsBucketVo>> aggResult) {
        super(total, rows);
        this.aggResult = aggResult;
    }
}
